<?php

return array(
    'jqgrid_comment_caption' => 'Список',
    'jqgrid_comment_col_names' => array(
        'Содержание', 'Дата создания', 'ID'
    ),
    'jqgrid_comment_col_model' => array(
        0 => array(
            'name' => 'message',
            'index' => 'message',
            'width' => 360,
            'editable' => true,
			'edittype' => 'textarea',
            'search' => true,
            'editrules' => array(
                'required' => true
            ),
			'editoptions' => array(
				'cols' => 30,
				'rows' => 10			
			),
			'sortable' => false
        ),
        1 => array(
            'name' => 'created',
            'index' => 'created',
            'width' => 160,
            'editable' => false,
            'search' => true,
			'sortable' => true,
            'formatter' => 'date',
            'formatoptions' => array(
                'srcformat' => 'Y-m-d H:i:s',
                'newformat' => 'd.m.Y H:i:s'
            )
        ),
        2 => array(
            'name' => 'id',
            'index' => 'id',
            'width' => 55,
            'editable' => false,
            'search' => true,
        ),
    )
);